package com.shell.scheduler;

import com.shell.bee.base.annotation.Logging;
import com.shell.bee.mvc.controller.BaseController;
import com.shell.scheduler.trace.po.SchdTrace;
import com.shell.scheduler.trace.service.SchdTraceService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class ScheTraceController extends BaseController {
	@Autowired
	private SchdTraceService schdTraceService;

	@RequestMapping
	@ResponseBody
	@Logging(module = "��������", methods = "������������")
	public List<SchdTrace> getTraces(String jobCode) throws Exception {
		return this.schdTraceService.getScheTraces(jobCode);
	}
}
